#ifndef BACKGROUND_H
#define BACKGROUND_H

#include <SDL/SDL.h>
#include <GL/glu.h>
#include <GL/gl.h>

class Background
{
    public:
        Background(double windowLargeur, double windowHauteur);
        virtual ~Background();

        void Draw();
    protected:
        double windowLargeur;
        double windowHauteur;
        GLuint texture;

        SDL_Surface* flipSurface(SDL_Surface * surface);
        GLuint loadTexture(const char * filename,bool useMipMap = true);
};

#endif // BACKGROUND_H
